package com.newlink.building.common_base.utils

import android.os.Build
import com.newlink.building.common_base.base.BaseApplication

/**
 * @Author: Jake
 * @Date: 2024-02-05
 * @Description:
 */
object LocaleUtils {

    fun isSystemLocaleZh(): Boolean {
        val context = BaseApplication.context
        val locale = context.resources.configuration.locales[0]
        val language = locale.language
        if (language == "zh") {
            return true
        }
        return false
    }
}